import request from "@/utils/request";

// 根据条件查询角色
export function getRoleList(query) {
  return request({
    url: "/prod-api/portal/ysRole/list",
    method: "get",
    params: query,
  });
}

// 根据条件查询武器
export function getWeaponList(query) {
  return request({
    url: "/prod-api/portal/weapon/list",
    method: "get",
    params: query,
  });
}
